package com.jiangjiang.eshop.finance.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName PurchaseSettlementOrderDO
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/15 23:31
 * @Version 1.0
 **/
@Data
@TableName("finance_purchase_settlement_order")
public class PurchaseSettlementOrder {
    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 采购入库单id
     */
    @TableField("purchase_input_order_id")
    private Long purchaseInputOrderId;
    /**
     * 采购单id
     */
    @TableField("purchase_order_id")
    private Long purchaseOrderId;
    /**
     * 供应商id
     */
    @TableField("supplier_id")
    private Long supplierId;
    /**
     * 预期到达时间
     */
    @TableField("expect_arrival_time")
    private Date expectArrivalTime;
    /**
     * 实际到达时间
     */
    @TableField("actual_arrival_time")
    private Date actualArrivalTime;
    /**
     * 采购联系人
     */
    @TableField("purchase_contractor")
    private String purchaseContractor;
    /**
     * 采购联系人电话号码
     */
    @TableField("purchase_contractor_phone_number")
    private String purchaseContractorPhoneNumber;
    /**
     * 采购联系人邮箱地址
     */
    @TableField("purchase_contractor_email")
    private String purchaseContractorEmail;
    /**
     * 采购单备注
     */
    @TableField("purchase_order_remark")
    private String purchaseOrderRemark;
    /**
     * 采购员
     */
    @TableField("purchaser")
    private String purchaser;
    /**
     * 采购入库单的状态
     */
    @TableField("status")
    private Integer status;
    /**
     * 采购结算单总金额
     */
    @TableField("total_settlement_amount")
    private Double totalSettlementAmount;
    /**
     * 采购入库单的创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 采购入库单的修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
